package com.gzy.rpsm_property.service;

import com.gzy.rpsm_property.mapper.RoomMapper;
import com.gzy.rpsm_property.pojo.Room;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class RoomServiceImpl implements RoomService {
    @Resource
    RoomMapper roomMapper;

    @Override
    public List<Room> roomsOfFloor(Integer floorId) {
        return roomMapper.roomsOfFloor(floorId);
    }
}
